package com.cqw.mapper.one;

import com.cqw.domain.Area;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
*@Author: caoqingwen
*@CreateTime: 2021-04-15 10:40
*@Description: ${Description}
*/
public interface AreaMapper {
    int deleteByPrimaryKey(String adCode);

    int insert(Area record);

    int insertOrUpdate(Area record);

    int insertOrUpdateSelective(Area record);

    int insertSelective(Area record);

    Area selectByPrimaryKey(String adCode);

    int updateByPrimaryKeySelective(Area record);

    int updateByPrimaryKey(Area record);

    int updateBatch(List<Area> list);

    int updateBatchSelective(List<Area> list);

    int batchInsert(@Param("list") List<Area> list);

    void delete();

    List<Area> selectAll();
}